package cn.lingyangwl.agile.demo.mq_sequence.mapper;

import cn.lingyangwl.agile.demo.mq_sequence.MqData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shenguangyang
 */
public interface MqDataMapper extends BaseMapper<MqData> {
    /**
     * 手写批量保存sql, 提高插入速度
     */
    int saveMsgData(@Param("item") MqData item);

    int batchSaveMsgData(List<MqData> list);
}
